package com.ht.domain.vo;


import com.ht.domain.bo.TbKnowledgeBO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class TbKnowledgeVO {

  private long id;
  private String knowledgeName;
  private long categoryId;
  private long juniorId;
  private Integer chargeStatus;

  public TbKnowledgeVO(TbKnowledgeBO tbKnowledgeBO) {
    this.id= tbKnowledgeBO.getId();
    this.knowledgeName= tbKnowledgeBO.getKnowledgeName();
    this.juniorId= tbKnowledgeBO.getJuniorId();
    this.categoryId= tbKnowledgeBO.getCategoryId();
    this.chargeStatus= tbKnowledgeBO.getChargeStatus();
  }
}
